﻿using BaseModule;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ExampleModule
{
    [ModuleInfo("Example Module", "1.0.0.0", "Vinh Le", "Example about integrating module like plugin to a application.")]
    public class ExampleModule : IBaseModule
    {
        public string TopMenuTitle
        {
            get
            {
                return "Tiến";
            }
        }
        public bool EnableTopMenu { get { return true; } }
        public string ParentModule { get { return ""; } }
        public IHostProcessor _hostView;
        public void DoAction()
        {
            MessageBox.Show("Xin chào tiến");
        }
        public void Initialize(IHostProcessor host)
        {
            _hostView = host;
        }
        public ModuleInfoAttribute Attributes { get; set; }
    }
}
